using System.Collections.Generic;

namespace CKY.AgentPlatform.Domain.McpTools
{
    /// <summary>
    /// MCP工具执行输入
    /// </summary>
    public class McpToolExecutionInput
    {
        /// <summary>
        /// 工具ID
        /// </summary>
        public string ToolId { get; set; }

        /// <summary>
        /// 工具名称
        /// </summary>
        public string ToolName { get; set; }

        /// <summary>
        /// 工具参数
        /// </summary>
        public Dictionary<string, object> Parameters { get; set; } = new();

        /// <summary>
        /// 会话ID
        /// </summary>
        public string SessionId { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public string UserId { get; set; }

        /// <summary>
        /// 超时时间（毫秒）
        /// </summary>
        public int Timeout { get; set; } = 30000;

        /// <summary>
        /// 是否异步执行
        /// </summary>
        public bool Async { get; set; } = false;
    }
}